from machine import UART
import time

uart = UART(1, baudrate=115200, tx=17, rx=16)

while True:
    uart.write("esp32\n")
    if (uart.any()):
        print(uart.read())
    time.sleep_ms(1000)